home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / technical documentation / develop / develop issue 29 / develop issue 29 code / acgis in c / www.h < prev   
Encoding:
C/C++ Source or Header  |  1996-07-05  |  775 b   |  33 lines

  1. #ifndef __WWW__
  2. #define __WWW__
  3.  
  4. #include "acgi.h"
  5.  
  6. //    [1]    Return the name of the log file that you want the ACGI to use.
  7.  
  8. char *WWWGetLogName(void);
  9.  
  10. //    [2]    Return pointers to the generic HTML pages that the ACGI
  11. //        will use when reporting errors to your clients.
  12.  
  13. void WWWGetHTMLPages(Handle refused, Handle tooBusy,
  14.                      Handle noMemory, Handle unexpectedError);
  15.  
  16. //    [3]    Do any initialization you need prior to accepting your first request.
  17.  
  18. OSErr WWWInit(void);
  19.  
  20. //    [4]    Do any clean up you need prior to program termination.
  21.  
  22. void WWWQuit(void);
  23.  
  24. //    [5]    Carry out periodic processing tasks while the program is running.
  25.  
  26. OSErr WWWPeriodicTask(void);
  27.  
  28. //    [6]    Process a ‘search document’ (POST) request from the WWW server.
  29.  
  30. OSErr WWWProcess(WWWRequest request);
  31.  
  32. #endif
  33.